Sname=input("请输入姓名：")
print("{}你好！".format(Sname))
print("小{}你好！".format(Sname[0]))
print("{}童鞋你好！".format(Sname[-1]))

print("{}{}童鞋你好！".format(Sname[-2],Sname[-1]))
print("{}你好！".format(Sname[-2:]))
print("{}你好！".format(Sname[0:2]))
